package com.sugar.psych.assessment.module.business.controller.admin.userleavemessage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 用户留言新增/修改 Request VO")
@Data
public class UserLeaveMessageSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2179")
    private Long id;

    /*@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8508")
    @NotNull(message = "用户编号不能为空")
    private Long userId;*/

    @Schema(description = "匿名名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "匿名名称不能为空")
    private String anonymityName;

    @Schema(description = "匿名头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "匿名头像不能为空")
    private String anonymityAvatar;

    @Schema(description = "留言内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "留言内容不能为空")
    private String content;

    @Schema(description = "被赞总次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "16392")
    @NotNull(message = "被赞总次数不能为空")
    private Integer likedCount;

    @Schema(description = "有效时间")
    private LocalDateTime validTime;

    @Schema(description = "状态（0正常 1禁用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态（0正常 1禁用）不能为空")
    private Boolean status;

}